import routes from '../routes'
import { appendLocale } from '@/lang'
import locale from './locale'

// 引入 Style
import './style/app.scss'

// 加载语言包
appendLocale('Charts', locale)

// 创建插件路由
routes({
  path: 'charts',
  component: () => import('./main.vue'),
  children: [
    {
      path: '',
      component: () => import('./view/index.vue')
    }
  ]
})